
<h3 class="page-title">机型列表
    <small>Model list</small>
</h3>
<ul class="breadcrumb">
    <li>
        <i class="icon-home"></i>
        <a href="../temp/index.html">Home</a>
        <i class="icon-angle-right"></i>
    </li>
    <li><a href="#">首页</a></li>
    <li class="pull-right no-text-shadow">
        <div id="dashboard-report-range">
            {{utc}} UTC
        </div>
    </li>
</ul>

<div class="portlet box red">

    <div class="portlet-title">

        <div class="caption"><i class="icon-cogs"></i>机型列表</div>
        <div class="tools">
            <a href="javascript:;" class="collapse"></a>
        </div>

    </div>

    <div class="portlet-body">
        <div class="tab-pane active" id="tab_1_1_1">

            <table datatable="ng" dt-options="dtOption" dt-column-defs="dtColumnDefs"  class="table table-striped table-bordered table-hover table-full-width dataTable">
                <thead>
                    <tr>
                        <th></th>
                        <th>注册号</th>
                        <th>机型</th>
                        <th>制造商</th>
                        <th>引擎</th>
                        <th>空重</th>
                        <th>最大着陆重量</th>
                        <th>最大着起飞</th>

                        <th>操作</th>
                    </tr>
                </thead>

                <tbody>
                <tr ng-repeat="aircraft in aircraftList">
                    <td>
                        <span class="row-details row-details-close" ng-click="open(aircraft,$event)"></span>
                    </td>
                    <td >{{aircraft.registration}}</td>
                    <td>{{aircraft.name}}</td>
                    <td>{{aircraft.comName}}</td>
                    <td>{{aircraft.engine}}</td>
                    <td>{{aircraft.emptyWeight}} kg</td>
                    <td>{{aircraft.maxLanding}} kg</td>
                    <td>{{aircraft.maxTakeoff}} kg</td>
                    <td>
                        <a href="javascript:;" style="padding: 3px 10px" class="btn blue" ng-click="edit(aircraft.aircraftId)"><i class="icon-edit"></i> 编辑</a>
                        <a href="javascript:;" style="padding: 3px 10px" class="btn blue" ng-click="delete(aircraft.aircraftId)"><i class="icon-trash"></i> 删除</a>
                    </td>
                </tr>
                </tbody>

            </table>

        </div>

    </div>

</div>